package data.nanjing.expo.models.dao;

import data.nanjing.expo.models.domain.FileManage;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface FileManageDao {
    public List<FileManage> getFileManageByBelongIdAndBelong(@Param("belongId") int belongId,@Param("belong") String belong);

    public int addFileManage(@Param("fileManage") FileManage fileManage);

    public int delFileManageByBelongIdAndUserId(@Param("belongId") int belongId,@Param("userId") int userId);
}
